﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DIProject.Data
{
    public class DataBase
    {
        protected static string ConnectionString
        {
            get
            {
                return Properties.Settings.Default.DIAptekaConnectionString;
            }
        }
        protected static System.Data.SqlClient.SqlConnection Connection
        {
            get
            {
                System.Data.SqlClient.SqlConnection result = new System.Data.SqlClient.SqlConnection(ConnectionString);
                return result;
            }
        }
    }
}
